#ifndef MY_GROUP_H
#define MY_GROUP_H

#include <QWidget>
#include <QGroupBox>
#include "my_label.h"
#include "common.h"

class My_group : public QGroupBox
{
    Q_OBJECT
public:
    My_group(const QString &title, QWidget *parent = nullptr);
    void setNum(double nlf, double nrf, double nlb, double nrb);
    void setText(const QString &tlf, const QString &trf, const QString &tlb, const QString &trb);

private:
    My_label* lf;
    My_label* rf;
    My_label* lb;
    My_label* rb;
    QGridLayout* layout;
};

#endif // MY_GROUP_H
